package org.cug.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.cug.pojo.ForeignClass;

import java.util.List;

@Mapper
public interface ForeignclassMapper {
    List<ForeignClass> list(List<Integer> ids, Integer semester);

    void insert(ForeignClass foreignclass);

    void delete(List<Integer> ids);

    ForeignClass selectid(Integer id);

    void update(ForeignClass foreignclass);

    List<ForeignClass> listall(Integer semester);
}
